/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       button_bitmaps.h

	$Header: /game/button_bitmaps.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef BUTTON_BITMAPS_H_INCLUDED
#define BUTTON_BITMAPS_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "bitmap_group.h"

// --------------------------------------------------------
// bitmap group for buttons
// --------------------------------------------------------
class t_button_bitmaps : public t_bitmap_group
{
public:
    t_button_bitmaps( t_bitmap_group_24 const& source );
 
    t_bitmap_layer const* get_up_bitmap() const;
	t_screen_rect const & get_up_rect() const;
    t_bitmap_layer const* get_down_bitmap() const;
	t_screen_rect const & get_down_rect() const;
    t_bitmap_layer const* get_disabled_bitmap() const;
	t_screen_rect const & get_disabled_rect() const;
    t_bitmap_layer const* get_highlighted_bitmap() const;
	t_screen_rect const & get_highlighted_rect() const;
	t_bitmap_layer const* get_highlighted_pressed_bitmap() const;
	t_screen_rect const & get_highlighted_pressed_rect() const;
protected:
    t_bitmap_layer const* m_up;
	t_screen_rect		  m_up_rect;
    t_bitmap_layer const* m_down;
	t_screen_rect         m_down_rect;
    t_bitmap_layer const* m_disabled;
	t_screen_rect         m_disabled_rect;
    t_bitmap_layer const* m_highlighted;
	t_screen_rect         m_highlighted_rect;
	t_bitmap_layer const* m_highlighted_pressed;
	t_screen_rect         m_highlighted_pressed_rect;
};

inline t_bitmap_layer const* t_button_bitmaps::get_up_bitmap() const
{
	return m_up;
}

inline t_screen_rect const & t_button_bitmaps::get_up_rect() const
{
	return m_up_rect;
}

inline t_bitmap_layer const* t_button_bitmaps::get_down_bitmap() const
{
	return m_down;
}

inline t_screen_rect const & t_button_bitmaps::get_down_rect() const
{
	return m_down_rect;
}

inline t_bitmap_layer const* t_button_bitmaps::get_disabled_bitmap() const
{
	return m_disabled;
}

inline t_screen_rect const & t_button_bitmaps::get_disabled_rect() const
{
	return m_disabled_rect;
}

inline t_bitmap_layer const* t_button_bitmaps::get_highlighted_bitmap() const
{
	return m_highlighted;
}

inline t_screen_rect const & t_button_bitmaps::get_highlighted_rect() const
{
	return m_highlighted_rect;
}

inline t_bitmap_layer const* t_button_bitmaps::get_highlighted_pressed_bitmap() const
{
	return m_highlighted_pressed;
}

inline t_screen_rect const & t_button_bitmaps::get_highlighted_pressed_rect() const
{
	return m_highlighted_pressed_rect;
}

#endif // BUTTON_BITMAPS_H_INCLUDED
